﻿namespace UserServiceB
{
    public class ConsulOptions
    {
        /// <summary>
        /// Consul客户端地址 8500端口
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 健康检查Url
        /// </summary>
        public string HealthCheck { get; set; }
        /// <summary>
        /// 服务名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 服务标签
        /// </summary>
        public string[] Tag { get; set; }
        /// <summary>
        /// 服务Id
        /// </summary>
        public string ID { get; set; }
        /// <summary>
        /// 服务IP
        /// </summary>
        public string Ip { get; set; }
        /// <summary>
        /// 服务端口
        /// </summary>
        public int Port { get; set; }
    }
}
